package Day21;

/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-10-13
 * Time: 10:20
 * To BE A Better Person-2020-3-2
 */
public class TestDemo3 {
    public static int foo(int x,int y){
        if(x<=0||y<=0){
            return 1;
        }
        return 3*foo(x-6,x/2);
    }
    public static void main(String[] args) {
        System.out.println(foo(20,13));
    }
}
